package com.ponhu.ea2.stockcenter.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@Accessors(chain = true)
@ApiModel(value = "库存消息-数据传输模型 ")
public class StockMqVO implements Serializable {

    @ApiModelProperty(value = "货品编码")
    private String inventoryCode;

    @ApiModelProperty(value = "库存数量")
    private Integer stock;

    @ApiModelProperty(value = "更新时间")
    private String updatedTime;

    @ApiModelProperty(value = "可售库存数", hidden = true)
    private Integer saleStockNum;

    @ApiModelProperty(value = "占用库存数", hidden = true)
    private Integer usedStockNum;

}
